package com.htjc.integral.conversion.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.htjc.integral.model.conversion.EcPartnerInvitecode;
@Mapper
public interface EcPartnerInvitecodeServiceCommonMapper {
  
    int deleteByPrimaryKey(String partnerId);

   
    int insert(EcPartnerInvitecode record);

    
    List<EcPartnerInvitecode>  selectByPrimaryKey(Map<Object, String>  value);
    
    List<Map<String, Object>>  selectCurrentInviterPromotions(Map<String, Object>  value);
    
    List<Map<String, Object>>  selectPromotionsRules(Map<String, Object>  value);

 
    List<EcPartnerInvitecode> selectAll();

   
    int updateByPrimaryKey(EcPartnerInvitecode record);
}